//
//  SetupViewController.m
//  基本框架
//
//  Created by runone02 on 2018/7/2.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "SetupViewController.h"
#import "ZMSetupView.h"
@interface SetupViewController ()
@property (nonatomic, strong) ZMSetupView *setUpView;
@end

@implementation SetupViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupNavView];
    self.view.backgroundColor = RGB(241, 241, 241);
    [self setMainView];
}

- (void) setupNavView{
    [super setupNavView];
    [self.navView.leftButton setImage:IMAGE(@"navigation_back") forState:UIControlStateNormal];
    [self.navView.centerButton setTitle:@"设置" forState:UIControlStateNormal];
}

- (void) setMainView{
    self.setUpView = [[ZMSetupView alloc]init];
    [self.view addSubview:self.setUpView];
    [self.setUpView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(self.navView.mas_bottom);
        make.left.right.bottom.mas_equalTo(self.view);
    }];
}


@end
